package com.interview.jvm;

class A {

    public A() {
        System.out.println("A");
    }
    
    { 
    	System.out.println("I'm A class"); 
    }
    
    static { 
    	System.out.println("static A"); 
    }

}

public class ClassInfo extends A {
	public ClassInfo() {
	    System.out.println("B");
	}
	
	{ 
		System.out.println("I'm B class"); 
	}
	
	static { 
		System.out.println("static B"); 
	}
	
	public static void main(String[] args) {
		new ClassInfo();
	}
}


//static A
//static B
//I'm A class
//A
//I'm B class
//B



